import request from '@/utils/request'

export function singleImage(data) {
  return request({
    url: '/admin/Upload/singleImage',
    method: 'post',
    data
  })
}
export function removeSingleImage(data) {
  return request({
    url: '/admin/Upload/removeImage',
    method: 'post',
    data
  })
}
export function add(data) {
  return request({
    url: '/admin/about/add',
    method: 'post',
    data
  })
}
export function getList(data) {
  return request({
    url: '/admin/about/getList',
    method: 'post',
    data
  })
}
export function getDetail(data) {
  return request({
    url: '/admin/about/getDetail',
    method: 'post',
    data
  })
}
export function editContent(data) {
  return request({
    url: '/admin/about/updateContent',
    method: 'post',
    data
  })
}
export function editField(data) {
  return request({
    url: '/admin/about/editField',
    method: 'post',
    data
  })
}
export function remove(data) {
  return request({
    url: '/admin/about/remove',
    method: 'post',
    data
  })
}
